﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MenuHorizontal.ascx.cs" Inherits="MenuHorizontal" %>
<link rel="stylesheet" type="text/css" href="Styles/Menu.css" />
<div id = "menu_horizontal">
    <asp:Menu ID="Menu1" runat="server" DataSourceID="XmlDataSource1" 
        Orientation="Horizontal">
        <DataBindings>
            <asp:MenuItemBinding DataMember="MenuItem" ImageUrlField="imgurl" 
                NavigateUrlField="url" TextField="name" />
        </DataBindings>
    </asp:Menu>
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" 
        DataFile="~/MenuHorizontal.xml" XPath="Menu/MenuItem"></asp:XmlDataSource>
</div>